Carbon


CloseComponentResFile

Header: Components.h Carbon status: Supported

Closes the resource file that your component opened previously with the OpenComponentResFile function.

OSErr CloseComponentResFile (
    SInt16 refnum
);
Parameter descriptions
refnum

The reference number that identifies the resource file to be closed. Your component obtains this value from the OpenComponentResFile function. Your component must close any open resource files before returning to the calling application.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)